import request from '@/config/request'

/**
 * 获取验证码
 */
export const getCaptcha = (data: any) => {
  return request.postOriginal({ url: '/system/captcha/get', data })
}

/**
 * 滑动或者点选验证
 */
export const captchaCheck = (data: any) => {
  return request.postOriginal({ url: '/system/captcha/check', data })
}
